package com.demo03_feed.client;


import com.demo03_feed.bean.Video;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
//调用视频服务
@FeignClient(name = "video-service")
public interface VideoServiceClient {

    @GetMapping("/videos/batch")
    List<Video> getVideosByIds(@RequestParam List<String> videoIds);
}